using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Collections;
using System.Data;
using System.ComponentModel;
using System.Data.OracleClient;
using WPFExcelReport.Helpers;
using System.Collections.Generic;
using WPFExcelReport.Controls;
namespace WPFExcelReport
{
    public partial class VICC_USERRIGHT
    {
        public DataSet LOADBYUSER(Dictionary<string, object> pm)
        {
            dwData = TBMain.NewRow();
            dwData["COMPANY"] = pm["COMPANY"].ToString();
            dwData["USERID"] = pm["USERID"].ToString();
            return QueryICC_USERRIGHT(dwData, 3);
        }
    }
    public partial class VICC_USERRIGHT
    {

        public string MANDANT { get { if (dwMaster == null) return ""; return dwMaster["MANDANT"].ToString(); } set { if (dwMaster == null) return; dwMaster["MANDANT"] = value; OnPropertyChanged("MANDANT", value); } } //lENGth 2
        public string ROWNID { get { if (dwMaster == null) return ""; return dwMaster["ROWNID"].ToString(); } set { if (dwMaster == null) return; dwMaster["ROWNID"] = value; OnPropertyChanged("ROWNID", value); } } //lENGth 20
        public string COMPANY { get { if (dwMaster == null) return ""; return dwMaster["COMPANY"].ToString(); } set { if (dwMaster == null) return; dwMaster["COMPANY"] = value; OnPropertyChanged("COMPANY", value); } } //lENGth 3
        public string USERID { get { if (dwMaster == null) return ""; return dwMaster["USERID"].ToString(); } set { if (dwMaster == null) return; dwMaster["USERID"] = value; OnPropertyChanged("USERID", value); } } //lENGth 8
        public string PROCESS { get { if (dwMaster == null) return ""; return dwMaster["PROCESS"].ToString(); } set { if (dwMaster == null) return; dwMaster["PROCESS"] = value; OnPropertyChanged("PROCESS", value); } } //lENGth 10
        public string PROG { get { if (dwMaster == null) return ""; return dwMaster["PROG"].ToString(); } set { if (dwMaster == null) return; dwMaster["PROG"] = value; OnPropertyChanged("PROG", value); } } //lENGth 80
        public string CONTROLS { get { if (dwMaster == null) return ""; return dwMaster["CONTROLS"].ToString(); } set { if (dwMaster == null) return; dwMaster["CONTROLS"] = value; OnPropertyChanged("CONTROLS", value); } } //lENGth 40
        public string REMARK { get { if (dwMaster == null) return ""; return dwMaster["REMARK"].ToString(); } set { if (dwMaster == null) return; dwMaster["REMARK"] = value; OnPropertyChanged("REMARK", value); } } //lENGth 100
        public string P1 { get { if (dwMaster == null) return ""; return dwMaster["P1"].ToString(); } set { if (dwMaster == null) return; dwMaster["P1"] = value; OnPropertyChanged("P1", value); } } //lENGth 40
        public string P2 { get { if (dwMaster == null) return ""; return dwMaster["P2"].ToString(); } set { if (dwMaster == null) return; dwMaster["P2"] = value; OnPropertyChanged("P2", value); } } //lENGth 40
        public string P3 { get { if (dwMaster == null) return ""; return dwMaster["P3"].ToString(); } set { if (dwMaster == null) return; dwMaster["P3"] = value; OnPropertyChanged("P3", value); } } //lENGth 40
        public string P4 { get { if (dwMaster == null) return ""; return dwMaster["P4"].ToString(); } set { if (dwMaster == null) return; dwMaster["P4"] = value; OnPropertyChanged("P4", value); } } //lENGth 40
        public string P5 { get { if (dwMaster == null) return ""; return dwMaster["P5"].ToString(); } set { if (dwMaster == null) return; dwMaster["P5"] = value; OnPropertyChanged("P5", value); } } //lENGth 40
        public string P6 { get { if (dwMaster == null) return ""; return dwMaster["P6"].ToString(); } set { if (dwMaster == null) return; dwMaster["P6"] = value; OnPropertyChanged("P6", value); } } //lENGth 40
        public string P7 { get { if (dwMaster == null) return ""; return dwMaster["P7"].ToString(); } set { if (dwMaster == null) return; dwMaster["P7"] = value; OnPropertyChanged("P7", value); } } //lENGth 40
        public string P8 { get { if (dwMaster == null) return ""; return dwMaster["P8"].ToString(); } set { if (dwMaster == null) return; dwMaster["P8"] = value; OnPropertyChanged("P8", value); } } //lENGth 200
        public string P9 { get { if (dwMaster == null) return ""; return dwMaster["P9"].ToString(); } set { if (dwMaster == null) return; dwMaster["P9"] = value; OnPropertyChanged("P9", value); } } //lENGth 200
        public string P0 { get { if (dwMaster == null) return ""; return dwMaster["P0"].ToString(); } set { if (dwMaster == null) return; dwMaster["P0"] = value; OnPropertyChanged("P0", value); } } //lENGth 400
        public string NEWUSER { get { if (dwMaster == null) return ""; return dwMaster["NEWUSER"].ToString(); } set { if (dwMaster == null) return; dwMaster["NEWUSER"] = value; OnPropertyChanged("NEWUSER", value); } } //lENGth 8
        public string NEWTIME { get { if (dwMaster == null) return ""; return dwMaster["NEWTIME"].ToString(); } set { if (dwMaster == null) return; dwMaster["NEWTIME"] = value; OnPropertyChanged("NEWTIME", value); } } //lENGth 20
        public string CHGUSER { get { if (dwMaster == null) return ""; return dwMaster["CHGUSER"].ToString(); } set { if (dwMaster == null) return; dwMaster["CHGUSER"] = value; OnPropertyChanged("CHGUSER", value); } } //lENGth 8
        public string CHGTIME { get { if (dwMaster == null) return ""; return dwMaster["CHGTIME"].ToString(); } set { if (dwMaster == null) return; dwMaster["CHGTIME"] = value; OnPropertyChanged("CHGTIME", value); } } //lENGth 20
     }
}
